<html>
<head>
<title>Upload Form</title>
</head>
<body>



<?php
	if(isset($upload_data) && !empty($upload_data))				
	{
?>
<h3>Your file was successfully uploaded!</h3>
<ul>
<?php foreach ($upload_data as $item => $value):?>
<li><?php echo $item;?>: <?php echo $value;?></li>
<?php endforeach; ?>
</ul>

<?php
	}
?>

<?php
	if(isset($error) && !empty($error))
	{
		echo $error;
	}
?>

</body>
</html>